package ${table.entityClassPackage};

import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
<#list table.fieldList as field>
 <#if field.isContainDate?if_exists>
import java.util.Date;
 </#if>
</#list>
<#list table.fieldList as field>
    <#if table.isGeneratorDeleteL?has_content && field.field == table.isGeneratorDeleteL>
import com.baomidou.mybatisplus.annotation.TableLogic;
    </#if>
</#list>
<#if table.isGeneratorSelect>
import ${table.voClassPackage}.GeneratorVo;
</#if>
<#if table.isGeneratorExcelImport||table.isGeneratorExcelDown?has_content>
import com.alibaba.excel.annotation.ExcelProperty;
</#if>

/**
 * @author：${table.author}
 * @since：${table.date}
 * @remark：${table.comment}
 */
<#if table.importClass>
@Data
</#if>
@TableName("${table.name}")
public class ${table.beanName} <#if table.isGeneratorSelect> extends GeneratorVo </#if>  implements Serializable {
    private static final long serialVersionUID = 1L;
<#list table.fieldList as field>
    <#if field.comment?has_content>
    /**
     * ${field.comment}
     */
        <#if table.isGeneratorExcelImport?has_content||table.isGeneratorExcelDown?has_content>
     @ExcelProperty("${field.comment}")
        </#if>
    </#if>
    <#if table.isGeneratorDeleteL?has_content && field.field == table.isGeneratorDeleteL>
    @TableLogic
    </#if>
    private ${field.javaType} ${field.beanField};
</#list>
}